<template>
  <div class="popular-template">
    <div class="surround-template wrapper">
      <h2 class="second-title-top">
        热门模板
        <a href="" class="viwe-all-require-login">查看全部模板</a>
      </h2>
      <ul class="second-title-bottom">
        <li class="template-one">
          <a class="require-login">
            <div class="wrapper-pic">
              <img src="https://wj.qq.com/data_temp/template_source/img/medical.png" alt=""  class="produce-pic"/>
            </div>
            <div class="template-title">身体健康状况调查</div>
          </a>
        </li>
        <li class="template-one template-supplement">
          <a class="require-login">
            <div class="wrapper-pic">
              <img src="https://wj.qq.com/data_temp/template_source/img/chat.png" alt="" class="produce-pic"/>
            </div>
            <div class="template-title">社交网站满意度</div>
          </a>
        </li>
        <li class="template-one template-supplement">
          <a class="require-login">
            <div class="wrapper-pic">
              <img src="https://wj.qq.com/data_temp/template_source/img/tv.png" alt="" class="produce-pic"/>
            </div>
            <div class="template-title">数码家电类产品满意度</div>
          </a>
        </li>
        <li class="template-one template-supplement">
          <a class="require-login">
            <div class="wrapper-pic">
              <img src="https://wj.qq.com/data_temp/template_source/img/talent.png" alt="" class="produce-pic"/>
            </div>
            <div class="template-title">国际标准智商测试</div>
          </a>
        </li>
        <li class="template-one template-supplement">
          <a class="require-login">
            <div class="wrapper-pic">
              <img src="https://wj.qq.com/data_temp/template_source/img/coffee.png" alt="" class="produce-pic"/>
            </div>
            <div class="template-title">团购网站用户满意度</div>
          </a>
        </li>
        <li class="template-one template-supplement">
          <a class="require-login">
            <div class="wrapper-pic">
              <img src="https://wj.qq.com/data_temp/template_source/img/game.png" alt="" class="produce-pic"/>
            </div>
            <div class="template-title">PC端游、页游满意度</div>
          </a>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.popular-template {
  // width: 1263px;
  // height: 230px;
  padding-bottom: 30px;
  font-size: 12px;
  line-height: 1.5;
  display: flex;
  // background-color: rgb(62, 116, 100);
}
.surround-template {
  height: 268px;
  box-sizing: border-box;
  // display: flex;
  // align-items: center;
  // background-color: rgb(214, 219, 206);
  position: relative;
}
.second-title-top {
  width: 1000px;
  height: 30px;
  margin: 38px 0 14px;
  font-weight: 400;
  font-size: 20px;
  // background-color: rgb(64, 194, 107);
  // position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  // top:0;
  // left: 0;
  // box-sizing: border-box;
}
.viwe-all-require-login {
  // position: absolute;
  font-size: 13px;
}
.second-title-bottom {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin: 0 auto;
  padding: 0;
  list-style-type: none;
}
.template-one {
  width: 140px;
  // height: 173px;
  vertical-align: top;
  margin-top: 13px;
  cursor: pointer;
}
.template-one:hover{
  color:rgb(62, 29, 153);
}

.template-supplement{
  // content:"";
  margin:13px 0 0 20px;
}
.require-login {
  text-decoration: none;
}
.wrapper-pic {
  display: flex;
  align-items: center;
  position: relative;
  width: 138px;
  height: 138px;
  // background-color: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  line-height: 138px;
  // text-align: center;
}
.produce-pic{
  position: absolute;
  left: 50%;
  transform:translate(-50%);
}
.template-title {
  margin-top: 13px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
}
</style>
